<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>友情链接导航 - 社交平台</title>
  <!-- Bootstrap 5 CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap/bootstrap.min.css" rel="stylesheet">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css
/font-awesome.min.css">
  
  <style>
    body {
      background-color: #f8f9fa;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      padding-bottom: 30px;
    }
    
    /* 导航栏样式 */
    .navbar {
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    /* 通用样式 */
    .link-section {
      margin-bottom: 30px;
      padding-top: 15px;
      border-top: 1px solid #eee;
    }
    
    .link-section:first-child {
      border-top: none;
    }
    
    .section-title {
      font-size: 16px;
      margin-bottom: 15px;
      color: #333;
      font-weight: 600;
      display: flex;
      align-items: center;
    }
    
    .section-title i {
      margin-right: 8px;
      color: #6c757d;
    }
    
    /* 图标链接样式 */
    .icon-link-item {
      text-align: center;
      padding: 15px 10px;
      transition: all 0.2s;
      border-radius: 8px;
    }
    
    .icon-link-item:hover {
      background-color: #f0f7ff;
      transform: translateY(-2px);
    }
    
    .icon-link-img {
      width: 50px;
      height: 50px;
      border-radius: 8px;
      object-fit: contain;
      margin: 0 auto 8px;
      background-color: white;
      padding: 5px;
    }
    
    .no-icon {
      width: 50px;
      height: 50px;
      border-radius: 8px;
      margin: 0 auto 8px;
      background-color: #e9ecef;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #6c757d;
      font-size: 20px;
    }
    
    .icon-link-name {
      font-size: 13px;
      color: #333;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    /* 列表链接样式 */
    .list-link-item {
      display: flex;
      align-items: center;
      padding: 12px 15px;
      border-radius: 8px;
      transition: background-color 0.2s;
    }
    
    .list-link-item:hover {
      background-color: #f0f7ff;
    }
    
    .list-link-img {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      object-fit: contain;
      margin-right: 12px;
      background-color: white;
      padding: 4px;
    }
    
    .list-link-content {
      flex-grow: 1;
    }
    
    .list-link-name {
      font-size: 15px;
      color: #333;
      margin-bottom: 2px;
    }
    
    .list-link-desc {
      font-size: 12px;
      color: #666;
    }
    
    /* 卡片链接样式 */
    .card-link {
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.2s, box-shadow 0.2s;
      height: 100%;
    }
    
    .card-link:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }
    
    .card-link-header {
      padding: 12px 15px;
      border-bottom: 1px solid #eee;
      display: flex;
      align-items: center;
    }
    
    .card-link-body {
      padding: 15px;
    }
    
    .card-link-desc {
      font-size: 13px;
      color: #666;
      margin-bottom: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    /* 标签链接样式 */
    .tag-link {
      display: inline-flex;
      align-items: center;
      padding: 8px 15px;
      border-radius: 20px;
      font-size: 14px;
      transition: all 0.2s;
      background-color: white;
      border: 1px solid #eee;
    }
    
    .tag-link:hover {
      transform: scale(1.05);
      border-color: #0d6efd;
    }
    
    .tag-link i {
      margin-right: 6px;
      font-size: 12px;
    }
    
    /* 分类链接样式 */
    .category-link-group {
      background-color: white;
      border-radius: 12px;
      overflow: hidden;
    }
    
    .category-link-header {
      padding: 12px 15px;
      font-size: 14px;
      font-weight: 600;
      color: #666;
      border-bottom: 1px solid #eee;
    }
    
    .category-link-items {
      padding: 10px 5px;
    }
  </style>
</head>
<body>
  <!-- 顶部导航栏 -->
  <nav class="navbar navbar-light bg-white sticky-top">
    <div class="container-fluid px-4">
      <button class="btn btn-link p-0 me-2" type="button">
        <i class="fa fa-arrow-left text-dark"></i>
      </button>
      <h5 class="navbar-brand mb-0 fw-bold flex-grow-1 text-center">友情链接</h5>
      <button class="btn btn-link p-0" type="button">
        <i class="fa fa-share-alt text-dark"></i>
      </button>
    </div>
  </nav>

  <!-- 主内容区 -->
  <div class="container-fluid px-4" style="padding-top: 15px;">
    <!-- 1. 图标式友情链接 -->
    <div class="link-section">
      <h6 class="section-title">
        <i class="fa fa-th-large"></i>热门合作伙伴
      </h6>
      <div class="row gap-3">
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <img src="https://picsum.photos/100/100?random=1" class="icon-link-img" alt="合作伙伴">
            <div class="icon-link-name">创意设计网</div>
          </a>
        </div>
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <div class="no-icon">
              <i class="fa fa-music"></i>
            </div>
            <div class="icon-link-name">音乐分享平台</div>
          </a>
        </div>
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <img src="https://picsum.photos/100/100?random=2" class="icon-link-img" alt="合作伙伴">
            <div class="icon-link-name">旅行日记</div>
          </a>
        </div>
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <img src="https://picsum.photos/100/100?random=3" class="icon-link-img" alt="合作伙伴">
            <div class="icon-link-name">美食天地</div>
          </a>
        </div>
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <div class="no-icon">
              <i class="fa fa-book"></i>
            </div>
            <div class="icon-link-name">阅读社区</div>
          </a>
        </div>
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <img src="https://picsum.photos/100/100?random=4" class="icon-link-img" alt="合作伙伴">
            <div class="icon-link-name">运动达人</div>
          </a>
        </div>
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <img src="https://picsum.photos/100/100?random=5" class="icon-link-img" alt="合作伙伴">
            <div class="icon-link-name">科技资讯</div>
          </a>
        </div>
        <div class="col-3">
          <a href="#" class="icon-link-item d-block">
            <div class="no-icon">
              <i class="fa fa-gamepad"></i>
            </div>
            <div class="icon-link-name">游戏联盟</div>
          </a>
        </div>
      </div>
    </div>
    
    <!-- 2. 列表式友情链接 -->
    <div class="link-section">
      <h6 class="section-title">
        <i class="fa fa-list"></i>精选网站推荐
      </h6>
      <div class="bg-white rounded-12 p-1">
        <a href="#" class="list-link-item d-block">
          <img src="https://picsum.photos/100/100?random=6" class="list-link-img" alt="推荐网站">
          <div class="list-link-content">
            <div class="list-link-name">设计师联盟</div>
            <div class="list-link-desc">专业设计师交流社区，分享创意作品</div>
          </div>
          <i class="fa fa-external-link text-secondary"></i>
        </a>
        
        <a href="#" class="list-link-item d-block">
          <div class="no-icon" style="width:40px; height:40px; font-size:16px;">
            <i class="fa fa-code"></i>
          </div>
          <div class="list-link-content">
            <div class="list-link-name">开发者论坛</div>
            <div class="list-link-desc">程序员技术交流平台，问题解答与分享</div>
          </div>
          <i class="fa fa-external-link text-secondary"></i>
        </a>
        
        <a href="#" class="list-link-item d-block">
          <img src="https://picsum.photos/100/100?random=7" class="list-link-img" alt="推荐网站">
          <div class="list-link-content">
            <div class="list-link-name">摄影爱好者</div>
            <div class="list-link-desc">摄影技巧分享，作品展示与交流</div>
          </div>
          <i class="fa fa-external-link text-secondary"></i>
        </a>
        
        <a href="#" class="list-link-item d-block">
          <img src="https://picsum.photos/100/100?random=8" class="list-link-img" alt="推荐网站">
          <div class="list-link-content">
            <div class="list-link-name">职场加油站</div>
            <div class="list-link-desc">职业规划与发展，职场经验分享</div>
          </div>
          <i class="fa fa-external-link text-secondary"></i>
        </a>
      </div>
    </div>
    
    <!-- 3. 卡片式友情链接 -->
    <div class="link-section">
      <h6 class="section-title">
        <i class="fa fa-clone"></i>重点合作平台
      </h6>
      <div class="row gap-3">
        <div class="col-6">
          <a href="#" class="card card-link border-0 shadow-sm d-block">
            <div class="card-link-header">
              <img src="https://picsum.photos/100/100?random=9" class="list-link-img" alt="合作平台">
              <span class="fw-medium">生活创意社区</span>
            </div>
            <div class="card-link-body">
              <p class="card-link-desc">分享生活中的创意灵感，手工制作与DIY教程</p>
            </div>
          </a>
        </div>
        <div class="col-6">
          <a href="#" class="card card-link border-0 shadow-sm d-block">
            <div class="card-link-header">
              <div class="no-icon" style="width:40px; height:40px; font-size:16px; margin-right:12px;">
                <i class="fa fa-graduation-cap"></i>
              </div>
              <span class="fw-medium">学习资源库</span>
            </div>
            <div class="card-link-body">
              <p class="card-link-desc">免费学习资源分享，涵盖各类技能与知识领域</p>
            </div>
          </a>
        </div>
      </div>
    </div>
    
    <!-- 4. 标签式友情链接 -->
    <div class="link-section">
      <h6 class="section-title">
        <i class="fa fa-tags"></i>行业相关网站
      </h6>
      <div class="flex-wrap d-flex gap-2">
        <a href="#" class="tag-link">
          <i class="fa fa-paint-brush text-primary"></i>艺术设计网
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-microphone text-success"></i>播客平台
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-camera text-danger"></i>影像社区
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-plane text-warning"></i>旅游攻略
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-cutlery text-info"></i>美食网
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-futbol-o text-secondary"></i>体育资讯
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-pencil text-dark"></i>写作社区
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-shopping-bag text-primary"></i>时尚潮流
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-home text-success"></i>家居设计
        </a>
        <a href="#" class="tag-link">
          <i class="fa fa-ellipsis-h text-secondary"></i>更多
        </a>
      </div>
    </div>
    
    <!-- 5. 分类式友情链接 -->
    <div class="link-section">
      <h6 class="section-title">
        <i class="fa fa-folder-open"></i>分类友情链接
      </h6>
      
      <!-- 分类1 -->
      <div class="category-link-group mb-3">
        <div class="category-link-header">
          社交娱乐
        </div>
        <div class="category-link-items">
          <div class="row gap-2">
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">兴趣部落</div>
              </a>
            </div>
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">聊天广场</div>
              </a>
            </div>
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">活动平台</div>
              </a>
            </div>
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">游戏社区</div>
              </a>
            </div>
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">影音分享</div>
              </a>
            </div>
          </div>
        </div>
      </div>
      
      <!-- 分类2 -->
      <div class="category-link-group">
        <div class="category-link-header">
          学习资源
        </div>
        <div class="category-link-items">
          <div class="row gap-2">
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">在线课程</div>
              </a>
            </div>
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">技能交换</div>
              </a>
            </div>
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">书籍推荐</div>
              </a>
            </div>
            <div class="col-4">
              <a href="#" class="list-link-item d-block p-2">
                <div class="list-link-name text-sm">教程网站</div>
              </a>
            </div>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 链接说明 -->
    <div class="bg-white rounded-12 p-3 text-sm text-secondary">
      <p class="mb-0">
        <i class="fa fa-info-circle me-1"></i>
        本站友情链接均为优质合作网站，点击链接将跳转至第三方平台，请注意保护个人信息
      </p>
    </div>
  </div>

  <!-- Bootstrap JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
  
  <script>
    // 链接点击效果
    document.querySelectorAll('a').forEach(link => {
      link.addEventListener('click', function(e) {
        // 实际项目中可删除此阻止默认行为的代码
        if (this.getAttribute('href') === '#') {
          e.preventDefault();
        }
        
        // 添加点击反馈
        this.style.opacity = '0.7';
        setTimeout(() => {
          this.style.opacity = '1';
        }, 200);
      });
    });
  </script>
</body>
</html>
